home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / unix / src / amiga.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-16  |  617 b   |  28 lines

  1. #include <exec/types.h>
  2. #include <dos/dos.h>
  3. #include <proto/dos.h>
  4. #include <proto/exec.h>
  5.  
  6. #include <errno.h>
  7. #include <stddef.h>
  8. #include <stdlib.h>
  9. #include <stdio.h>
  10. #include <sys/types.h>
  11. #include <internal/vars.h>
  12.  
  13. extern struct timeinfo *_odd_timer;
  14. extern ULONG _odd_sig;
  15. extern struct Device *TimerBase;
  16.  
  17. int convert_oserr(int ioerr);
  18. void _seterr(void);
  19. void chkabort(void);
  20.  
  21. #define ERROR do { _seterr(); return -1; } while(0)
  22. #define AMIGA_UID 1
  23. #define AMIGA_GID 0
  24.  
  25. int _make_protection(int mode);
  26. int _make_mode(int protection);
  27. void _fibstat(struct FileInfoBlock *fib, int isroot, struct stat *sbuf);
  28.